package com.zpl.goods.service;

import com.zpl.goods.entity.Category;
import com.zpl.goods.entity.CategoryUS;
import com.zpl.goods.entity.vo.CategoryVO;

import java.util.List;

/**
 * @author wangyuxin
 * @date 2020/9/29
 */
public interface CategoryService {
    boolean insert(Category category);
    boolean delete(Long id);
    boolean update(CategoryUS category);
    CategoryUS selectById (Long id);
    List<CategoryVO> selectByParentId(Long parentId);
    List<CategoryVO> show();
}
